🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@antv/g-plugin-html-renderer

Package Overview
Dependencies
Maintainers
64
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-plugin-html-renderer

A G plugin for rendering HTML

1.9.27
Source
npm
Version published
Weekly downloads
63K
-6.8%
Maintainers
64
Weekly downloads
 
Created
Source

@antv/g-plugin-html-renderer

Render HTML for g-canvas/svg/webgl.

const p1 = new HTML({
    style: {
        x: 200,
        y: 100,
        html: 'p1',
    },
});
const p2 = new HTML({
    style: {
        x: 400,
        y: 100,
        html: 'p2',
    },
});

// 修改属性
p1.style.x = x1;
p1.style.filter = 'blur(5px)';

// 变换
p1.translate(100, 0);
p1.scale(2);

Keywords

antv

FAQs

Package last updated on 19 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts